﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="QuizDetails.aspx.cs" Inherits="GiveAQuizSite.Reports.QuizDetails" %>

<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
  Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
  <title></title>
</head>
<body>
  <form id="form1" runat="server">
  <div>
    <asp:ScriptManager ID="scriptMgr" runat="server" />
    <rsweb:ReportViewer ID="ReportViewer1" 
                        runat="server" 
                        Font-Names="Verdana" 
                        Font-Size="8pt"
                        InteractiveDeviceInfos="(Collection)" 
                        WaitMessageFont-Names="Verdana" 
                        WaitMessageFont-Size="14pt"
                        Width="800px" 
                        Height="675px">
      <LocalReport ReportPath="Reports\QuizDetailsReport.rdlc">
        <DataSources>
          <rsweb:ReportDataSource DataSourceId="reportDataSource" 
                                  Name="QuizDetailsDataSet" />
        </DataSources>
      </LocalReport>
    </rsweb:ReportViewer>
    <asp:ObjectDataSource ID="reportDataSource" 
                          runat="server" 
                          OldValuesParameterFormatString="original_{0}"
                          SelectMethod="GetData" 
                          TypeName="GiveAQuizSite.Reports.QuizDetailsDataSetTableAdapters.QuizAnswersTableAdapter">
      <SelectParameters>
        <asp:QueryStringParameter DefaultValue="" 
                                  Name="QuizResultsId" 
                                  QueryStringField="quizResultsId"
                                  Type="Int32" />
      </SelectParameters>
    </asp:ObjectDataSource>
  </div>
  </form>
</body>
</html>
